package com.yangchao.ch02

/** def动态可选类型 **/
class Example8 {
    public static void main(String[] args) {
        int a = 100 //java写法//
        def d = 100
        def aInt =100
        print(aInt)   // 不换行
        print " "
        def bFloat = 99.9
        print(bFloat)
        print(" ")

        def cString="HelloGroovy"
        println(cString)


    }
}
